package cn.entity;

import java.util.List;

/**
 * 分页工具类
 */
public class Page {
    private User user;
    private int curPage;//当前页码
    private int perNum;//每页的信息条数
    private int totlePage;//总共的页码
    private int totleNum;//总共条数
    private List<User> userList;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getCurPage() {
        return curPage;
    }

    public void setCurPage(int curPage) {
        this.curPage = curPage;
    }

    public int getPerNum() {
        return perNum;
    }

    public void setPerNum(int perNum) {
        this.perNum = perNum;
    }

    public int getTotlePage() {
        return totlePage;
    }

    public void setTotlePage(int totlePage) {
        this.totlePage = totlePage;
    }

    public int getTotleNum() {
        return totleNum;
    }

    public void setTotleNum(int totleNum) {
        this.totleNum = totleNum;
    }

    public List<User> getUserList() {
        return userList;
    }

    public void setUserList(List<User> userList) {
        this.userList = userList;
    }
}
